package com.example.demo.repository;

import com.example.demo.identity.GroupMsg;
import org.springframework.data.domain.Pageable;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface GroupMsgRepository extends MongoRepository<GroupMsg, String> {

//    分页倒序差群历史
//    List<GroupMsg> findByGroupIdOrderBySendTimeDesc(String groupId);

}
